Freemius\FS_Api C

Total Complexity 103
Dependencies 8
Dependents 2
Total lines 698
Lines of code 292
Logical lines of code 129
Comment lines 287
Methods 27
Properties 9

Methods 27

Method Rating Maintainability Complexity Lines of code
_call()
B
39 23 60
get()
A
48 13 32
is_ssl_error_response()
A
52 9 26
remote_request()
S
55 6 19
should_try_with_http()
S
59 5 15
get_error_code()
S
65 5 10
_init()
S
58 4 15
is_api_result_object()
S
68 4 7
is_api_error_object()
S
69 4 7
_sync_clock_diff()
S
61 3 13
is_api_error()
S
75 3 4
is_blocked()
S
69 3 7
instance()
S
64 3 8
toggle_force_http()
S
67 3 8
is_api_result_entity()
S
75 2 4
get_cache_key()
S
72 2 4
update_cache_expiration()
S
72 1 5
is_temporary_down()
S
72 1 5
get_temporary_unavailable_error()
S
64 1 10
purge_cache()
S
72 1 5
get_url()
S
80 1 3
clear_cache()
S
74 1 5
clear_force_http_flag()
S
80 1 3
is_cached()
S
75 1 4
get_signed_url()
S
81 1 3
call()
S
79 1 3
__construct()
S
66 1 7